import React from "react";
import { Button, Tabs } from "antd";
import axios from "axios";
import { LocalDebug } from "../renderer";
import { sendRequest } from "./util";
import { Game } from "./game";

// CSS class=btn
export const btnStyle = {
  margin: "0px 20px 20px 0px",
  fontSize: "16px",
  fontWeight: "bold",
  borderRadius: "4px",
  cursor: "pointer",
};
export class Index extends React.Component {
  state = {
    localDebug: "false",
  };
  componentDidMount(): void {
    if (LocalDebug.localDebug) {
      this.state.localDebug = "true";
      this.setState(this.state);
    }
  }
  render() {

    return (
      <>
      <Game></Game>
      </>
    );
  }
}